<template>
  <div class="container">
    <transition name="fade">
      <router-view></router-view>
    </transition>
  </div>
</template>
<script setup>
</script>

<style scoped lang="scss">
.container {
  display: flex;
  width: 100%;
  justify-content: center;
  align-content: center;
  align-items: center;
  .fade-enter-active,
  .fade-leave-active {
    opacity: 1;
    transition: opacity 0.5s;
  }
  .fade-enter, .fade-leave-to /* .fade-leave-active below version 2.1.8 */ {
    opacity: 0;
  }
}
</style>